<template>
  <div class="community">
    <div class="container">
      <h1>食界</h1>
      <span id="she">社区</span>
      <span id="spanall">唯有爱与美食不可辜负</span>
      <div id="tabs">
        <ul id="shequ">
          <router-link tag="li" active-class="active" to="/community/notelist">广场页面</router-link>
          <router-link tag="li" active-class="active" to="/community/activelist">活动页面</router-link>
        </ul>
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>
<style lang="css" scoped>
h1{font-size: 25px;}
.community{
  margin-top: 80px;
  margin-bottom: 60px;
}
.community h1 {
  float: left;
  margin-left: 15px;
}
.active{
  color: #e6a23c;
  font-weight: 700;
}
#she {
  margin-left: 10px;
  /* margin-top: 12px; */
  display: inline-block;
  width: 60px;
  height: 30px;
  background-color: #e6a23c;
  font-size: 14px;
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: 8px;
}
#spanall {
  clear: both;
  float: left;
  margin-left: 15px;
  margin-bottom: 20px;
  margin-top: 5px;
  font-size: 14px;
}
#tabs {
  clear: both;
  padding: 5px;
  margin-top: 50px;
}
#tabs #shequ {
  display: block;
  height: 62px;
  line-height: 62px;
  border-bottom: 2px saddlebrown solid;
}
#tabs #shequ li {
  background: #fff;
  cursor: pointer;
  line-height: 62px;
  list-style: none;
  height: 62px;
  margin: 0px 3px;
  border: 1px solid #aaa;
  border-bottom: none;
  display: inline-block;
  width: 160px;
  text-align: center;
}

#tabs #shequ li.on {
  border-top: 2px solid saddlebrown;
  border-bottom: 2px solid #fff;
}

#tabs div {
  height: 100%;
  border: 1px solid #ccc;
  border-top: none;
  padding: 5px;
}
</style>
<script>
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap/dist/js/bootstrap.min.js";
export default {};
</script>

